﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Agnes.TaskManager.Models;
using Csla;

namespace Agnes.TaskManager
{
    /// <summary>
    /// 循环类型NVL
    /// </summary>
    public class CirculateTypeNVL : NameValueListBase<CirculateType, string>
    {
        private void DataPortal_Fetch()
        {
            RaiseListChangedEvents = false;
            IsReadOnly = false;
            Add(new NameValuePair(CirculateType.Daily, "每一天"));
            Add(new NameValuePair(CirculateType.Weekly, "每一周"));
            Add(new NameValuePair(CirculateType.Monthly, "每个月"));
        }
    }
}
